class Person {
  constructor(name, age) {
    this.name = name;
    this.age = age;
  }
  say() {
    console.log("say");
  }
}

class Children extends Person {}

let c1 = new Children("嘎子", 18);
let c2 = new Children("英子", 22);
console.log(c1.name);
console.log(c1.age);
console.log(c1.say);
console.log(c2.name);
console.log(c2.say);
